projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa46310
)
* coding.c (encode_designation_at_bol): Don't use uninitialized
author
Paul Eggert
<eggert@cs.ucla.edu>
Mon, 5 Dec 2011 09:05:10 +0000
(
01:05
-0800)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Mon, 5 Dec 2011 09:05:10 +0000
(
01:05
-0800)
local variable (Bug#9318).
src/ChangeLog
patch
|
blob
|
history
src/coding.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index d897fadd29240ae5a5c0d96b146042f0f8ec2360..0f0365b5bac1869aa4df9823e7861e48f15a9e6c 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,3
+1,8
@@
+2011-12-05 Paul Eggert <eggert@cs.ucla.edu>
+
+ * coding.c (encode_designation_at_bol): Don't use uninitialized
+ local variable (Bug#9318).
+
2011-12-05 Kenichi Handa <handa@m17n.org>
* ftfont.c (get_adstyle_property): If the font is not BDF nor PCF,
diff --git
a/src/coding.c
b/src/coding.c
index b174307663030780f6216eded6a3c48b11d0e3d6..537f69ebe1fa2fbfb8c6e81c20fb0d44f3d72b0a 100644
(file)
--- a/
src/coding.c
+++ b/
src/coding.c
@@
-4356,7
+4356,7
@@
encode_designation_at_bol (struct coding_system *coding,
int *charbuf, int *charbuf_end,
unsigned char *dst)
{
- unsigned char *orig;
+ unsigned char *orig
= dst
;
struct charset *charset;
/* Table of charsets to be designated to each graphic register. */
int r[4];